package com.pinda.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pinda.base.entity.PdCourierScop;
//import com.itheima.pinda.entity.user.PdCourierScope;

import java.util.List;

/**
 * <p>
 * 快递员业务范围表  服务类
 * </p>
 *
 * @author itcast
 * @since 2019-12-20
 */
public interface IPdCourierScopeService extends IService<PdCourierScop> {
    /**
     * 批量保存快递员业务范围
     *
     * @param scopeList 快递员业务范围信息列表
     */
    void batchSave(List<PdCourierScop> scopeList);

    /**
     * 删除快递员业务范围
     *
     * @param areaId 行政区域id
     * @param userId 快递员id
     */
    void delete(String areaId, String userId);

    List<PdCourierScop> findAll(String areaId, String userId);

    void fanweisave(PdCourierScop pdCourierScop);

    PdCourierScop fanweibanduan(PdCourierScop pdCourierScop);

    void fanweiupdate(PdCourierScop pdCourierScop);
}
